package com.love.marriage.userSettingsInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  类
 * author:       mybatisPlus
 * createDate: 2024-10-12 22:22:35
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_settings_info_t")
@Schema(description = "")
public class UserSettingsInfo extends BaseEntity<UserSettingsInfo>{

    @Schema(description = "用户的 ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "主题设置 (light:亮色/dark:深色)", type = "String", implementation = String.class)
    @TableField("theme")
    private String theme;

    @Schema(description = "是否同意用户协议 (0=否, 1=是)", type = "Boolean", implementation = Boolean.class)
    @TableField("user_agreement")
    private Boolean userAgreement;

    @Schema(description = "是否同意隐私政策 (0=否, 1=是)", type = "Boolean", implementation = Boolean.class)
    @TableField("privacy_policy")
    private Boolean privacyPolicy;

}
